/*
 * @Autor: GXL
 * @Date: 2022-06-11 22:32:44
 * @E-mail: 1515533507@qq.com
 * @LastEditTime: 2022-06-12 12:11:42
 * @FilePath: \web\vue3\Vue3-TS-CMS\src\store\types.ts
 * @Description: I see that all living beings have no intention, but I moved my heart to you
 */
import { ILoginState } from './login/types'
import { ISystemState } from './main/system/types'
import { IDashboardState } from './main/analysis/types'

export interface IRootState {
  name: string
  age: number
  entireDepartment: any[]
  entireRole: any[]
  entireMenu: any[]
}

export interface IRootWithModule {
  login: ILoginState
  system: ISystemState

  dashboard: IDashboardState
}

export type IStoreType = IRootState & IRootWithModule
